import { _decorator, Canvas, Component, Node } from 'cc';
import engine from '../core/Engine';
const { ccclass, property } = _decorator;

@ccclass('Main')
export class Main extends Component {

    protected onLoad(): void {
        engine.init(this.node.getComponent(Canvas))
    }

    start() {

    }

    update(deltaTime: number) {
        
    }
}


